<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./../../admin/css/menu.css">

    <script src="./../../admin/layui/layui.js"></script>
    <script src="./../../admin/js/menu.js"></script>

</head>

<body>

        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
        <button class="layui-btn">添加菜单</button>

        <button class="layui-btn layui-btn-sm" lay-event="getCheckData">获取选中行数据</button>
        <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
        <button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>
      </div>
    </script>
    
        <script type="text/html" id="barDemo">
            <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> -->
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
      </script>

          <!-- 修改菜单的状态 -->
    <script type="text/html" id="switchTpl">
        <!-- 这里的 checked 的状态只是演示 -->
    <input type="checkbox" name="sex" value="{{d.m_status}}" lay-skin="switch" lay-text="开|关" lay-filter="sexDemo" {{ d.m_status == 1 ? 'checked' : '' }}>
  </script>

  <div class="demoTable">
        搜索ID：
        <div class="layui-inline">
            <input class="layui-input" name="id" id="demoReload" autocomplete="off">
        </div>
        <button class="layui-btn" data-type="reload">搜索</button>
    </div>

    <table class="layui-hide" id="menu" lay-filter="menu"></table>

 






</body>

</html>